package bean;

public class Command {
    private int articleId;
    private String time;
    public Command(){}

    public Command(int articleId,String time) {
        this.articleId = articleId;
        this.time = time;
    }


    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Command{" +
                "articleId=" + articleId +
                ", time='" + time + '\'' +
                '}';
    }
}
